<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div>replace调用方式：</div>
<div th:replace="~{common :: header}"></div>
<div>body</div>
<div>include调用方式：</div>
<div th:include="~{common :: footer}"></div>
</body>
</html>